package com.xyzh.application.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author @JZB
 * @since 2022-11-01
 */
@Getter
@Setter
@TableName("userinfo")
@ApiModel(value = "UserEntity对象", description = "")
public class UserEntity extends BasicEntity {

   private static final long serialVersionUID = 1L;



    @ApiModelProperty("用户id")
    @TableId(value = "id", type = IdType.NONE)
    private String id;

    @ApiModelProperty("用户名称")
    private String username;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("姓名")
    private String nickname;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("性别")
    private Integer sex;

    @ApiModelProperty("是否可用 0-不可用，1-可用")
    private Integer enabled;

    @ApiModelProperty("邮箱")
    private String email;



}
